package org.wmq.skycommon.context;

public class BaseContext {

    public static ThreadLocal<Long> threadlocal = new ThreadLocal<>();

    public static void setCurrentId(Long id){
        threadlocal.set(id);
    }

    public static Long getCurrentId(){
        return threadlocal.get();
    }

    public static void removeCurrentId(){
        threadlocal.remove();
    }
}
